export const tableOption = {
    border: true,
    selection: false,
    index: true,
    indexLabel: '序号',
    stripe: true,
    menuAlign: 'center',
    addBtn:false,
    menu: true,
    menuWidth:200,
    editBtn:false,
    align: 'center',
    // dialogType:drawer,
    refreshBtn: true,
    searchSize: 'mini',
    viewBtn: false,
    delBtn:false,
    props: {
      label: 'label',
      value: 'value'
    },
    column: [{
      label: '商品',
      prop: 'prodName',
    },{
      label: '商品图片',
      prop: 'pic',
      type: 'upload',
      width: 150,
      listType: 'picture-img',
      slot: true
      },{
      label: '创建时间',
      prop: 'createTime',
      type: 'date',
      editDisabled: true
      // search: true,
    },{
      label: '返利类型',
      prop: 'type',
      dicData: [
        {
          label: '固定返利',
          value: 0
        },
        {
          label: '百分比返利',
          value: 1
        },
      ]
    },{
      label: '返利比例/金额',
      prop: 'amount',
      slot:true
    },{
      label: '返利状态',
      prop: 'status',
      slot: true
    },]
  }
  